Skip to content

The charter's cap on wrong ejections holds to about a fifth - #14

Merged
jeremy merged 2 commits into
mainfrom
charter-a-fifth
Nov 26, 2026
Merged

jeremy merged 2 commits into
mainfrom
charter-a-fifth

Conversation

@jeremy

@jeremy jeremy commented Nov 25, 2026

Copy link
Copy Markdown
Member

Context

The charter caps wrong ejections at 1 per 1,000 landings and says the cap "holds while under about a third of the builds of good trees fail". That is true of a queue that builds one pull request at a time and not of one that batches and probes.

Change

One word: "about a third" becomes "about a fifth", which is true of both shapes.

The numbers

Wrong ejections per 1,000 landings under today's blame, simulated, 1,000 worlds a cell, with one job failing by chance on top of the shape's usual failures:

The job fails Batches and probes, no culprit on that job Batches and probes, half the culprits on that job One pull request a candidate
20% of its runs 0.62 0.93 0.23
25% 1.25 1.69
30% 2.13 2.78 0.65
40% 1.43

The model assumes the job fails independently on every run, probes included. A real flake that follows an agent or an hour would do worse than these.

Not changed

No target, indicator or invariant. doc/design.md keeps its own figures.

With batches and probes, one job failing a fifth of its runs by chance ejects
0.62 to 0.93 innocent pull requests in 1,000 landings, and a quarter 1.25 to
1.69. A queue that builds one pull request at a time holds further, to about a
third; a fifth is true of both.
Copilot AI balanced review requested due to automatic review settings November 25, 2026 07:04

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Approved

The documented failure-rate threshold update has no active review issues.

No open issues 🎉

What changed in this PR

Updates the merge queue charter’s stated failure-rate tolerance to account for queues that batch pull requests and probe failures.

Changes:

  • Lowers the stated threshold for the wrong-ejection cap from about one third to about one fifth of good-tree builds failing.
  • Leaves targets, indicators, invariants, and doc/design.md unchanged.

[!TIP]
If you aren't ready for review, convert to a draft PR.
Click "Convert to draft" or run gh pr ready --undo.
Click "Ready for review" or run gh pr ready to reengage.

File Description
CHARTER.md Revises the documented failure-rate threshold for maintaining the wrong-ejection cap.

Review effort: Balanced

@jeremy

jeremy commented Nov 25, 2026

Copy link
Copy Markdown
Member Author

Word: yes, "about a fifth", at 910951b.

* train/main:
  The daily row also gives the four hours before its window (draft) (#18)
  The daily row holds no limit on builds per landing (draft) (#17)
  The daily row counts passing candidates thrown away unlanded (#13)
  The replay draws no build time from a verdict first read after an outage (#10)
@jeremy
jeremy merged commit 2417281 into main Nov 26, 2026
4 checks passed
@jeremy
jeremy deleted the charter-a-fifth branch November 26, 2026 09:51
jeremy added a commit that referenced this pull request Nov 26, 2026
* train/main:
  The charter's cap on wrong ejections holds to about a fifth (#14)
jeremy added a commit that referenced this pull request Nov 26, 2026
* commit 'a8862e5f58004e2cb44f6c609ae30ce9ea74fe23':
  The charter's cap on wrong ejections holds to about a fifth (#14)
  The daily row also gives the four hours before its window (draft) (#18)
  The daily row holds no limit on builds per landing (draft) (#17)
  The daily row counts passing candidates thrown away unlanded (#13)
  The replay draws no build time from a verdict first read after an outage (#10)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants